<?php

$id=$_GET['idprod'];

require_once('class/cruds.php');
$cruds = new CRUDS();
$cruds->set_table('produk');

$cruds->delete('IDPRODUK', $id);

header('Location: http://localhost/incofarming/Views/manprod_view.php'

?>